Skip to content

Migrate HEIR to use a hermetic LLVM toolchain (clang, lld, etc.)#2676

Merged
copybara-service[bot] merged 1 commit intogoogle:mainfrom
j2kun:hermetic-cc-toolchain
May 7, 2026
Merged

Migrate HEIR to use a hermetic LLVM toolchain (clang, lld, etc.)#2676
copybara-service[bot] merged 1 commit intogoogle:mainfrom
j2kun:hermetic-cc-toolchain

Conversation

@j2kun
Copy link
Copy Markdown
Collaborator

@j2kun j2kun commented Feb 20, 2026

Fixes #2675

@j2kun j2kun force-pushed the hermetic-cc-toolchain branch from ecb5966 to 219facc Compare March 18, 2026 00:39
@j2kun j2kun force-pushed the hermetic-cc-toolchain branch 2 times, most recently from b465456 to 40d6e37 Compare May 7, 2026 17:45
@j2kun
Copy link
Copy Markdown
Collaborator Author

j2kun commented May 7, 2026

Slight progress here as sed and gawk were patched in BCR to work with clang 21.

The remaining builds that need fixing are

  • bison
  • fmt
  • openfhe (needs omp.h)

I included the build logs in a (temporary) commit

@j2kun j2kun force-pushed the hermetic-cc-toolchain branch 2 times, most recently from 415dc7b to 3a52581 Compare May 7, 2026 17:58
@j2kun
Copy link
Copy Markdown
Collaborator Author

j2kun commented May 7, 2026

Bumping to clang 22 and... IT WORKS!!!!

@j2kun j2kun force-pushed the hermetic-cc-toolchain branch from 0a23f57 to cd18d9e Compare May 7, 2026 20:59
@j2kun j2kun requested a review from asraa May 7, 2026 21:00
@j2kun j2kun force-pushed the hermetic-cc-toolchain branch from cd18d9e to fc2a89d Compare May 7, 2026 21:00
@j2kun j2kun changed the title try using a hermetic LLVM toolchain Migrate HEIR to use a hermetic LLVM toolchain (clang, lld, etc.) May 7, 2026
@j2kun j2kun added ci:macos Run the MacOS CI on this PR ci:wheels labels May 7, 2026
@j2kun j2kun added ci:wheels and removed ci:macos Run the MacOS CI on this PR ci:wheels labels May 7, 2026
@j2kun j2kun force-pushed the hermetic-cc-toolchain branch from 47869ea to 3178ba4 Compare May 7, 2026 21:28
@j2kun j2kun added ci:wheels and removed ci:wheels labels May 7, 2026
@j2kun j2kun force-pushed the hermetic-cc-toolchain branch from 3178ba4 to 777adbb Compare May 7, 2026 23:10
@j2kun j2kun added the pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing label May 7, 2026
@copybara-service copybara-service Bot merged commit 05ce797 into google:main May 7, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:wheels pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move HEIR to a hermetic C++ toolchain

1 participant